<%@page import="java.text.SimpleDateFormat"%>
<%@page import="classes.Conexao"%>
<%@page import="java.util.Date"%>
<%@page buffer="500kb" autoFlush="false" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" import="java.sql.*"%>
<%
    String str = "";
    Long cd_alimento = Long.parseLong(request.getParameter("cd_alimento").toString());

    String SQL = "DELETE FROM \"Operacoes\".\"ALIMENTO\" WHERE cd_alimento = ? ";

    try {
        Object[] params = new Object[]{cd_alimento};
        Conexao.executeStatement(SQL, params);
        out.println(str);
    } catch (Exception ex1) {
        ex1.printStackTrace();
    }

%>